package com.ruoyi.customer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动管理对象 cs_activity
 * 
 * @author 李守壮
 * @date 2023-03-22
 */
public class CsActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动ID */
    private Long id;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private String activeType;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activeName;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String activeDescription;

    /** 活动链接 */
    @Excel(name = "活动链接")
    private String activeLine;

    /** 产品id */
    @Excel(name = "产品id")
    private String productId;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String cityId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 省 */
    @Excel(name = "省")
    private String provinceId;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String districtId;

    /** 区 */
    @Excel(name = "区")
    private String district;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 是否历史活动(y:是,n:否) */
    @Excel(name = "是否历史活动(y:是,n:否)")
    private String isHistory;

    /** 是否下架 */
    @Excel(name = "是否下架")
    private String isDown;

    /** 活动下架时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动下架时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date downTime;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String delFlag;

    /** 下架方式 */
    @Excel(name = "下架方式")
    private String downType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActiveType(String activeType) 
    {
        this.activeType = activeType;
    }

    public String getActiveType() 
    {
        return activeType;
    }
    public void setActiveName(String activeName) 
    {
        this.activeName = activeName;
    }

    public String getActiveName() 
    {
        return activeName;
    }
    public void setActiveDescription(String activeDescription) 
    {
        this.activeDescription = activeDescription;
    }

    public String getActiveDescription() 
    {
        return activeDescription;
    }
    public void setActiveLine(String activeLine) 
    {
        this.activeLine = activeLine;
    }

    public String getActiveLine() 
    {
        return activeLine;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCityId(String cityId) 
    {
        this.cityId = cityId;
    }

    public String getCityId() 
    {
        return cityId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProvinceId(String provinceId) 
    {
        this.provinceId = provinceId;
    }

    public String getProvinceId() 
    {
        return provinceId;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrictId(String districtId) 
    {
        this.districtId = districtId;
    }

    public String getDistrictId() 
    {
        return districtId;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setIsHistory(String isHistory) 
    {
        this.isHistory = isHistory;
    }

    public String getIsHistory() 
    {
        return isHistory;
    }
    public void setIsDown(String isDown) 
    {
        this.isDown = isDown;
    }

    public String getIsDown() 
    {
        return isDown;
    }
    public void setDownTime(Date downTime) 
    {
        this.downTime = downTime;
    }

    public Date getDownTime() 
    {
        return downTime;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelflag() 
    {
        return delFlag;
    }
    public void setDownType(String downType) 
    {
        this.downType = downType;
    }

    public String getDownType() 
    {
        return downType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activeType", getActiveType())
            .append("activeName", getActiveName())
            .append("activeDescription", getActiveDescription())
            .append("activeLine", getActiveLine())
            .append("productId", getProductId())
            .append("province", getProvince())
            .append("cityId", getCityId())
            .append("productName", getProductName())
            .append("provinceId", getProvinceId())
            .append("city", getCity())
            .append("districtId", getDistrictId())
            .append("district", getDistrict())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("isHistory", getIsHistory())
            .append("isDown", getIsDown())
            .append("downTime", getDownTime())
            .append("delflag", getDelflag())
            .append("downType", getDownType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
